#include <iostream>
#include <time.h>

using namespace std;
#include "CombatScene.h"
#include "SDLEngine.h"
#include "SDLText.h"
#include "SDLSprite.h"
#include "SDLAnimation.h"
#include "Animations.h"
#include "PokemonLoader.h"
#include "HpBar.h"
#include "XpBar.h"

int main(int argc, char* args[])
{
	srand(time(NULL));

	SDLEngine::GetInstance()->Init();
	SDLScene* combatScene = new SDLScene("Combat");
	SDLScene* swapScene = new SDLScene("Swap");

	PokemonLoader::GetInstance();

	SDLRenderer::GetInstance()->SetResolution(240, 160, 24);
	SDLRenderer::GetInstance()->StartRendering();
	
	SDLScene* combat = new CombatScene("Combat");
	SDLEngine::GetInstance()->SwitchToScene("Combat");
	SDLEngine::GetInstance()->Start();

	return 0;
}